package com.zhucan.elastics.application.query;

import com.zhucan.elastics.application.query.dto.EmployeeDTO;
import com.zhucan.elastics.application.query.qry.EmployeeQry;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;


/**
 * @author: zhuCan
 * @date: 2019/12/20 10:15
 * @description:
 */
public interface EmployeeQueryService {

  Page<EmployeeDTO> employeePage(EmployeeQry qry, Pageable pageable);

  List<EmployeeDTO> findByNameLike(String name);
}
